<template>
  <div class="app-container">
    <a-config-provider
      :theme="{
        token: {
          colorPrimary: '#C20017',
        },
      }"
      :locale="zhCN"
    >
      <a-spin :spinning="storeApp.isLoading" tip="正在加载，请稍候..." :delay="300" size="large">
        <router-view />
      </a-spin>
    </a-config-provider>
  </div>
</template>

<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN';

import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');

import useAppStore from '@/stores/app'
const storeApp = useAppStore()
</script>

<style lang="less">

</style>

